package com.ruoyi.weixin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.weixin.entity.Picture;
import com.ruoyi.weixin.entity.Pictures;
import com.ruoyi.weixin.entity.R;
import com.ruoyi.weixin.vo.PicsId;
import com.ruoyi.weixin.vo.TabName;
import com.ruoyi.weixin.vo.userId;
import org.springframework.web.multipart.MultipartFile;


/**
 * (Picture)表服务接口
 *
 * @author makejava
 * @since 2023-12-26 09:52:28
 */
public interface PictureService extends IService<Picture> {

    R<?> selectHot(Picture picture);


    R<?> findSiPics(userId userid);

    R<?> findpicbytab(TabName tabName);

    R<?> findGongPics(userId userid);

    R<?>  findPicByPicsId(PicsId picsId);

    R<?> findLajiPics(userId userid);

    R<?> findPicByPicsIdAndtime(PicsId picsId);

    R<?> newPics(Pictures pictures);

    R<?>  uploadPic(MultipartFile file, String pid,String userId);

    R<?> uploadFrent(MultipartFile file,String userId);

    R<?> uploadAvator(MultipartFile file, String userId);

    int removeByid(String id,String userId);

    int reset(String id, String userId);

    int deletePics(String id);

    int movePic(String id, String name);

    int findLajiAndDelete();
}

